<!-- Begin issues/group_status_miniview.tpl -->
{opentable}
{titlebar colspan=8 title=$lg->group_standing}
<tr align="center" class="sectiontableheader">
	<td width="5%" >{$lg->detail}</td>
	<td width="5%" >{$lg->standing}</td>
	<td width="5%" >{$lg->rating}</td>
	<td >{$lg->group}</td>
	<td width="5%" >{$lg->new}</td>
	<td width="5%" >{$lg->open}</td>
	<td width="7%" >++++</td>
	<td width="7%" >+++</td>
	<td width="7%" >++</td>
	<td width="7%" >+</td>
</tr>
{if count($group_status) > 0}
	{foreach from=$group_status key=gid item=group}
	{if show_group($gid)}
		<tr class="sectiontableentry1" align="center">
			<td onclick="ShowHideIssues(this);" id="b{$gid}" style="cursor:pointer">+</td>
			<td><img src="{$group.standing}" width="10" height="10" border="0" /></td>
			<td>{$group.rating}</td>
			<td align="left"><a href="?module=issues&action=group&gid={$gid}">{$group.name}</a></td>
			<td>{$group.new}</td>
			<td>{$group.open}</td>
			<td class="sevrow1" width="7%" align="center">{$group.sev1}</td>
			<td class="sevrow2" width="7%" align="center">{$group.sev2}</td>
			<td class="sevrow3" width="7%" align="center">{$group.sev3}</td>
			<td class="sevrow4" width="7%" align="center">{$group.sev4}</td>
		</tr>
		<tr >
		  <td colspan="10">
			<table cellPadding="0" width="100%" id="gi{$gid}" style="display:none">
			{if $group.new > 0 or $group.open}
			  <tr class="sectiontableheader" align="center">
				<td width="5%"  >{$lg->issues}</td>
				<td width="65%" >{$lg->short_description}</td>
				<td width="15%" >{$lg->status}</td>
			  </tr>
			  {foreach from=$issues_group key=issueid item=issues}
				{if $issues.gid == $gid}
				  <tr class="sectiontableentry1">
					<td  align = "center"><a href="?module=issues&action=view&issueid={$issues.issueid}&gid={$gid}">{$issues.issueid}</a></td>
					<td>{$issues.objet}</td>
					<td>{status id=$issues.status}</td>
				  </tr>
				{/if}
			  {/foreach}
			 {/if}
			</table>
		  </td>
		<tr>
{/if}
{/foreach}
{else}
<tr class="data"><td colspan="8" align="center">No group standings to display.</td></tr>
{/if}
</table>
<div class="createdate" style="text-align: left; margin: 2px; ">
	<img src="{$smarty.env.imgs.normal}" width="10" height="10" border="0" alt="Rating below 25" /> = Good
	<img src="{$smarty.env.imgs.high}" width="10" height="10" border="0" alt="Rating between 25 and 49" /> = Fair
	<img src="{$smarty.env.imgs.urgent}" width="10" height="10" border="0" alt="Rating of 50 or higher" /> = Critical
</div>
<br/>
<!-- End issues/group_status_miniview.tpl-->
